<div class="ui-g-12 p-20 p-b-0">
    <p-panel headerClass="bg-none" [showScroll]="true" marginHeight='80' >
        <p-header>
            <div class="text-right p-6-0">
                <span class="border-l-1a8fe8 p-l-8 pull-left m-t-8">工人信息</span>
                <button pButton type="button" (click)="enit()" label="编辑" class="btn btn btn-secondary"></button>
                <!-- <button pButton type="button" (click)="back()" label="取消" class="btn btn-secondary"></button> -->
            </div>
        </p-header>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                所属项目工队：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.teamInfoName}}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                账号：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.code}}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                身份证号：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.idNumber}}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                手机号：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.telephone}}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                姓名：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.name}}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                性别：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.sex==='sex_man'?'男':'女' }}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                从业时间：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.workingStartTime | date: "yyyy-MM-dd" }}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                从业年限：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.workingYears}}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                级别：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.level}}分
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                籍贯：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.birthPlace}}
            </div>
        </div>
        <div class="table-row">
          <div class="table-cell text-right p-l-25">
            现居地：
          </div>
          <div class="table-cell  mi-w-800">
            {{objToPost.addressCurrent}}
          </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                户籍所在地：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.addressBirth}}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                个人简介：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.description}}
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                工种：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.workTypeStr }}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25 v-a-t">
                手持身份证照片：
            </div>
            <div class="table-cell  mi-w-800">
                <div class="pull-left load-img" *ngIf="workPhotoArr&&workPhotoArr.length">
                    <p-lightboxfile [showDelete]="false" (removeItem)="removeItem($event,workPhoto);workPhoto.remove($event.event,$event.index)" styleClass="inline-block"
                        [images]="workPhotoArr"></p-lightboxfile>
                </div>
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25 v-a-t">
                身份证正面：
            </div>
            <div class="table-cell  mi-w-800">
                <div class="pull-left load-img" *ngIf="idcardPhotoFrontArr&&idcardPhotoFrontArr.length">
                    <p-lightboxfile [showDelete]="false" (removeItem)="removeItem($event,idcardPhotoFront);idcardPhotoFront.remove($event.event,$event.index)" styleClass="inline-block"
                        [images]="idcardPhotoFrontArr"></p-lightboxfile>
                </div>
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25 v-a-t">
                身份证反面：
            </div>
            <div class="table-cell  mi-w-800">
                <div class="pull-left load-img" *ngIf="idcardPhotoReverseArr&&idcardPhotoReverseArr.length">
                    <p-lightboxfile [showDelete]="false" (removeItem)="removeItem($event,idcardPhotoReverse);idcardPhotoReverse.remove($event.event,$event.index)"
                        styleClass="inline-block" [images]="idcardPhotoReverseArr"></p-lightboxfile>
                </div>
            </div>
        </div>
        <div class="table-row">
            <div class="table-cell text-right p-l-25 v-a-t">
                电工证附件：
            </div>
            <div class="table-cell  mi-w-800">
                <div class="pull-left load-img" *ngIf="electricAttachArr&&electricAttachArr.length">
                    <p-lightboxfile [showDelete]="false" (removeItem)="removeItem($event,electricAttach);electricAttach.remove($event.event,$event.index)" styleClass="inline-block"
                        [images]="electricAttachArr"></p-lightboxfile>
                </div>
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                电工证起止日期：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.electricAttachStartTime}}{{(objToPost.electricAttachStartTime!=''&&objToPost.electricAttachEndTime!='')?'至':'' }}{{objToPost.electricAttachEndTime}}
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25 v-a-t">
                管道证附件：
            </div>
            <div class="table-cell  mi-w-800">
                <div class="pull-left load-img" *ngIf="pipeCardAttachArr&&pipeCardAttachArr.length">
                    <p-lightboxfile [showDelete]="false" (removeItem)="removeItem($event,pipeCardAttach);pipeCardAttach.remove($event.event,$event.index)" styleClass="inline-block"
                        [images]="pipeCardAttachArr"></p-lightboxfile>
                </div>
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell text-right p-l-25">
                电工证起止日期：
            </div>
            <div class="table-cell  mi-w-800">
                {{objToPost.pipeCardStartTime }}{{(objToPost.pipeCardStartTime!=''&&objToPost.pipeCardEndTime!='')?'至':'' }}{{objToPost.pipeCardEndTime}}
            </div>
        </div>

    </p-panel>
</div>
